<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="SystemPreference.aspx.cs" Inherits="Ebiz.SystemPreference" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
    #tblForm > tbody tr td{
        padding:4px;
    }
    .txtFormSmall{
        width:90px;
        font-size:12px;
    }
    .txtFormBig{
        width:240px;
        font-size:12px;
    }
    .cbForm{
        width:244px;
        font-size:12px;
    }
    .cbFormSmall{
        width:94px;
        font-size:12px;
    }
    </style>
    <script src="js/sistemprefs.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentHolder" runat="server">
    <h3>System Settings</h3>
    <form name="Form1" id="Form1" runat="server">
        <table id="tblForm" style="text-align:left;font-size:12px;" align="center">
            <tbody>
                <tr>
                    <td style="font-size:14px;color:Blue;background-color:#CCC;" colspan="3"><strong>System Authentication</strong></td>
                </tr>
                <tr>
                    <td>Login Mode</td><td style="width:6px;">:</td>
                    <td style="width:300px;">
                        <select name="cbLogMode" id="cbLogMode" class="cbForm" runat="server">
                            <option value="1">PC + Network ID</option>
                            <option value="2">Network ID</option>
                            <option value="3">Username + Password</option>
                        </select>
                    </td>
                </tr>
                <tr><td colspan="3">&nbsp;</td></tr>
                <tr><td style="font-size:14px;color:Blue;background-color:#CCC;" colspan="3">
                    <strong>Web Server Configurations</strong></td></tr>
                <tr>
                    <td>Server Address</td><td>:</td>
                    <td><input type="text" name="txtSvrName" id="txtSvrName" class="txtFormBig" value="" runat="server" /></td>
                </tr>
                <tr style="display:none;">
                    <td>Server Port</td><td>:</td>
                    <td>
                        <input type="text" name="txtSvrPort" id="txtSvrPort" class="txtFormSmall" value="" runat="server" />
                        <span style="font-size:12px;color:Green;margin-left:10px;">(Default: 80)</span>
                    </td>
                </tr>
                <tr><td colspan="3">&nbsp;</td></tr>
                <tr>
                    <td style="font-size:14px;color:Blue;background-color:#CCC;" colspan="3">
                        <strong>Email Configurations</strong></td>
                </tr>
                <tr>
                    <td>SMTP Host</td><td>:</td>
                    <td><input type="text" name="txtSMTPHost" id="txtSMTPHost" class="txtFormBig" value="" runat="server" /></td>
                </tr>
                <tr>
                    <td>Port</td><td>:</td>
                    <td>
                        <input type="text" name="txtSMTPPort" id="txtSMTPPort" class="txtFormSmall" value="" runat="server" />
                    </td>
                </tr>
                <tr>
                    <td>Username</td><td>:</td>
                    <td><input type="text" name="txtSMTPUname" id="txtSMTPUname" class="txtFormBig" value="" runat="server" /></td>
                </tr>
                <tr>
                    <td>Password</td><td>:</td>
                    <td><input type="password" name="txtSMTPPwd" id="txtSMTPPwd" class="txtFormBig" value="" runat="server" /></td>
                </tr>
                <tr>
                    <td>Default Credentials</td><td>:</td>
                    <td>
                        <select name="cbSMTPCred" id="cbSMTPCred" class="cbFormSmall" runat="server">
                            <option value="false">False</option>
                            <option value="true">True</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>Enable SSL</td><td>:</td>
                    <td>
                        <select name="cbSMTPSSL" id="cbSMTPSSL" class="cbFormSmall" runat="server">
                            <option value="false">False</option>
                            <option value="true">True</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>Email From</td><td>:</td>
                    <td><input type="text" name="txtEmailFrom" id="txtEmailFrom" class="txtFormBig" value="" runat="server" /></td>
                </tr>
                <tr>
                    <td>From Name</td><td>:</td>
                    <td><input type="text" name="txtEmailName" id="txtEmailName" class="txtFormBig" value="" runat="server" /></td>
                </tr>
                <tr><td colspan="3">
                    &nbsp;
                </td></tr>
                <tr><td colspan="2">&nbsp;</td>
                    <td>
                        <input type="button" name="btnCancel" id="btnCancel" class="btnSmall" style="padding:3px 24px;margin-right:10px;" value="Cancel" onclick="javascript:window.location='Home.aspx';" />
                        <input type="submit" name="btnSave" id="btnSave" class="btnSmall" style="padding:3px 24px;" value="Update" runat="server" />
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</asp:Content>
